package com.gitee.magic.framework.head.constants;

/**
 * 系统级:0~2000,不建议前端直接展示对应Message,需显示自定义Message
 * @author start
 */
public interface BaseCode {

	/**
	 * 成功
	 */
	String CODE_200 = "200-OK";
	/**
	 * 无内容。服务器成功处理，但未返回内容。
	 */
	String CODE_204 = "204-No Content";
	/**
	 * 请求要求用户的身份认证
	 */
	String CODE_401 = "401-Unauthorized";
	/**
	 * 禁止访问
	 */
	String CODE_403 = "Forbidden";
	/**
	 * 请求的资源（文件等）不存在
	 */
	String CODE_404 = "404-Not Found";
	/**
	 * 客户端请求中的方法被禁止
	 */
	String CODE_405 = "405-Method Not Allowed";
	/**
	 * 服务器无法处理客户端发送的不带Content-Length的请求信息
	 */
	String CODE_411 = "411-Length Required";
	/**
	 * 请求的实体过大，服务器无法处理
	 */
	String CODE_413 = "413-Request Entity Too Large";
	/**
	 * 请求的URI过长（URI通常为网址），服务器无法处理
	 */
	String CODE_414 = "414-Request URI Too Large";
	/**
	 * 请求太多
	 */
	String CODE_429 = "429-Too Many Requests";
	/**
	 * 内部服务器错误
	 */
	String CODE_500 = "500-Internal Server Error";

	String CODE_1000 = "1000-System Settings Error";
	String CODE_1001 = "1001-Sign is Empty";
	String CODE_1002 = "1002-Sign is Error";
	String CODE_1003 = "1003-ExpireTime is Empty";
	String CODE_1004 = "1004-ExpireTime Format Error";
	String CODE_1005 = "1005-ExpireTime is Invalid";
	String CODE_1006 = "1006-AccessId is Empty";
	String CODE_1007 = "1007-AccessId Format Error";
	String CODE_1008 = "1008-Request Header Decode Error";
	String CODE_1009 = "1009-Request Body Error";
	String CODE_1010 = "1010-Get Request Body Error";
	String CODE_1011 = "1011-Request Body format use base64";
	String CODE_1013 = "1013-Request Body Length error";
	String CODE_1014 = "1014-Request Body is empty";
	String CODE_1015 = "1015-IO Error";
	String CODE_1016 = "1016-File Sign Error";
	String CODE_1017 = "1017-Load ID is Null[ID:%s Class:%s]";
	String CODE_1018 = "1018-Request Header ContentType is empty";
	String CODE_1019 = "1019-Request Header ContentType is not %s";
	String CODE_1020 = "1020-File Not Found";
	
}
